﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NotifyForCreateProject
{
    public class HandleAtProjCreated_01 : IHandleAtProjCreated
    {
        public void Handle(IEnumerable<ProjectModel> projectCollection)
        {
            if(projectCollection == null || !projectCollection.Any())
            {
                return;
            }

            Console.WriteLine($"模拟处理（{nameof(HandleAtProjCreated_01)}）：接收到项目共{projectCollection.Count()},包括：{string.Join("\t", projectCollection)}");
        }
    }
}
